<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <ul>
        <li v-for="item in movies">{{item}}</li> <!--v-for指令:遍历数组-->
    </ul>
</div>
<script src="../js/vue.js"></script>
<script>
  const app=new Vue({
    el:'#app',
    data:{
      message:'你好',
      movies:['山河令','魔道祖师','天官赐福']
    }
  })
</script>
</body>
</html>